import request from '@/utils/request'

export default {
  //根据手机号发送验证码  /要手机号，传个参数
  sendCode(phone) {
    return request({
      url: `/edumsm/msm/send/${phone}`,//` 拼接
      method: 'get'
    })
  },
  //注册的方法  formItem表单中传入对象
  registerMember(formItem) {
    return request({
      url: `/educenter/member/register`,//` 拼接
      method: 'post',
      data: formItem
    })
  }
}
